package com.kgc.scd.bean;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 * @author jiangguoqiang
 * @since 2022-11-17
 */
@Data
public class UserVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    private String username;

    private String password;

    private Boolean gender;

    private Integer birthday;

    /**
     * 注册时间
     */
    private Date registerTime;

    /**
     * 最后一次登录时间
     */
    private Date lastLoginTime;

    @TableField("last_login_ip")
    private String lastLoginIp;

    /**
     * 是否vip
     */
    private boolean userLevelId;

    private String nickname;

    private String mobile;

    /**
     * 注册_ip
     */
    private String registerIp;

    private String weixinOpenid;

    private String headImg;

    /**
     * 会员更新时间
     */
    private LocalDateTime updateDate;


}